package rest.home.entity;

/**
 * @author: lbc
 * @Date: 2022/5/6 15:17
 * @version: 8.0
 * @describe:
 */
public class Medicine {
    private Integer medicineId;
    private String medicineName;
    private Integer medicinePrice;

    @Override
    public String toString() {
        return "药品编号:" + medicineId +","+
                "药品名称:" + medicineName +","+
                "药品价格:" + medicinePrice +";";
    }

    public Integer getMedicineId() {
        return medicineId;
    }

    public void setMedicineId(Integer medicineId) {
        this.medicineId = medicineId;
    }

    public String getMedicineName() {
        return medicineName;
    }

    public void setMedicineName(String medicineName) {
        this.medicineName = medicineName;
    }

    public Integer getMedicinePrice() {
        return medicinePrice;
    }

    public void setMedicinePrice(Integer medicinePrice) {
        this.medicinePrice = medicinePrice;
    }

    public Medicine() {
    }

    public Medicine(Integer medicineId, String medicineName, Integer medicinePrice) {
        this.medicineId = medicineId;
        this.medicineName = medicineName;
        this.medicinePrice = medicinePrice;
    }
}
